<template>
  <div class="main">
    <div class="box" @click="loginOut()">
      <p>感谢您的使用!</p>
      <span>(点击退出)</span>
    </div>
  </div>
</template>

<script>
// import { removeToken } from "@/utils/auth";
import { resetRouter } from "@/router";

export default {
  methods: {
    loginOut() {
      // removeToken();
      resetRouter();
      this.$router.replace(`/`); 
    },
  },
};
</script>

<style lang="scss" scoped>
.main {
  width: 100%;
  height: 94vh;
  background-color: #eee;
  border-top: 1px solid #eee;
  cursor: pointer;
  .box {
    width: 80%;
    height: 600px;
    background-color: skyblue;
    margin: 10% auto;
    cursor: pointer;
    text-align: center;
    border-radius: 20px;
    p {
      font-size: 50px;
      color: #fff;
      font-weight: 700;
      line-height: 200px;
      letter-spacing:15px
    //   margin-top: 70px;
    }
    span {
        color: #999;
        font-size: 20px;
    }
  }
}
</style>